package com.uhomecp.lambda.biaodashi1;

public class Java8Tester2 {
    final static String value = "hello ";

    public static void main(String[] args) {
        String value = "hello2 ";
        GreetingService greetingService = message -> System.out.println(value + message);
        greetingService.sayMessage("相说");
    }


    interface GreetingService {
        void sayMessage(String message);
    }
}
